package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.domain.DestinationTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface DestinationSearchRepository extends ElasticsearchRepository<DestinationTemplate,Long> {
    /**
     * 查询目的地
     * @param destName
     * @return
     */
    DestinationTemplate findByName(String destName);
}
